package com.hyz.model.asset;

import com.baomidou.mybatisplus.annotation.EnumValue;

/**
 * 资产类别
 *
 * @author HGD
 * @date 2022/10/7 22:54
 */
public enum AssetClasses {
    //    Hardware assets(0,"硬件资产"),
//
//    Software assets(1,"软件资产"),
//
//    Virtual assets(2,"虚拟资产");
//

    HARDWARE_ASSET(0, "硬件资产"),
    SOFTWARE_ASSET(1, "软件资产"),
    VIRTUAL_ASSET(2, "虚拟资产");

    @EnumValue
    private final Integer key;
    private final String value;

    public Integer getKey() {
        return key;
    }

    public String getValue() {
        return value;
    }

    AssetClasses(Integer key, String value) {
        this.key = key;
        this.value = value;
    }
}
